<template>
  <div class="audio">
    <content-pan-topbar></content-pan-topbar>
    <content-pan-table
      cur-table-img-type="audio"
      :table-data="tableData"
      :upload-rules="uploadRules"
    ></content-pan-table>
  </div>
</template>

<script>
import ContentPanTopbar from '@/views/Content/ContentPan/component/ContentPanTopbar';
import ContentPanTable from '@/views/Content/ContentPan/component/ContentPanTable';
const tableData = require('./tableData/audio.json');

export default {
  name: 'Audio',
  components: { ContentPanTopbar, ContentPanTable },
  data() {
    return {
      tableData: tableData,
      uploadRules: {
        type: '音乐',
        limitArr: ['.mp3', '.m4a'],
      },
    }
  }
}
</script>

<style lang="less">
.audio {
  height: calc(100% - 45px);
}
</style>